<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Facultad
 *
 * @author jhonny
 */
class FacultadVO {
    private $id;
    private $nombre;
    private $carreras;
    public function __construct() {
        $this->carreras = array();
    }
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    /**
     *
     * @return String 
     */
    public function getNombre() {
        return $this->nombre;
    }

    public function setNombre($nombre) {
        $this->nombre = $nombre;
    }

    public function getCarreras() {
        return $this->carreras;
    }

    public function setCarreras($carreras) {
        $this->carreras = $carreras;
    }

    public function addCarrera($carrera) {
        array_push($this->carreras, $carrera);        
    }

}

?>
